package main

import "fmt"

type Person struct {
	name string
	age int
	sex bool
}

func change(p *Person) {
	p.name = "李四"
}


func main() {
	p := Person{
		name:"王五",
		sex:false,
		age:20,
	}
	change(&p)
	fmt.Println(p.name)
}